SEAM = ../Semaphore
CFALG = -I ./include/  -g
CC = g++

all: testMFQ@windows

testMFQ@windows: testMFQ@windows.o MFQ_t.o M_printModule@windows.o Semaphore_t.o TCB_t.o 
	$(CC) testMFQ@windows.o MFQ_t.o M_printModule@windows.o Semaphore_t.o TCB_t.o -o testMFQ@windows

testMFQ@windows.o: testMFQ@windows.cpp
	$(CC) -c testMFQ@windows.cpp $(CFALG) -o testMFQ@windows.o

MFQ_t.o: MFQ_t.cpp
	$(CC) -c MFQ_t.cpp $(CFALG) -o MFQ_t.o

M_printModule@windows.o: M_printModule@windows.cpp 
	$(CC) -c M_printModule@windows.cpp $(CFALG) -o M_printModule@windows.o 

Semaphore_t.o: ../Semaphore/Semaphore_t.cpp 
	$(CC) -c ../Semaphore/Semaphore_t.cpp -I ../Semaphore/include/ -g -o Semaphore_t.o 

TCB_t.o: TCB_t.cpp 
	$(CC) -c TCB_t.cpp $(CFALG) -o TCB_t.o

clean:
	del *.o testMFQ@windows.exe

